<?php /* Smarty version 2.6.19, created on 2010-10-26 15:23:40
         compiled from resources.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cutstr', 'resources.html', 35, false),array('modifier', 'showcpic', 'resources.html', 61, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>资源商列表--万利达书城</title>
<link href="skins/stlye/globle.css" rel="stylesheet" type="text/css" />
<link href="skins/stlye/link.css" rel="stylesheet" type="text/css" />
<link href="skins/stlye/footer.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.1.js"></script>
<script type="text/javascript" src="js/jquery.autocomplete.js"></script>
<link rel="stylesheet" type="text/css" href="js/jquery.autocomplete.css" />
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript">


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>
</head>

<body ><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top_inc.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:3px; " >
  <tr>
    <td width="222" rowspan="3" align="left" valign="top" style=" border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td background="skins/stlye/images/bdsjtp_03.jpg" height="27" style="font-size:14px; font-weight:bold; padding-left:10px;">推荐资源商</td>
      </tr>
      <tr>
        <td valign="top" style=" padding-left:2px; padding-right:2px"><ul id="xinxi">
          <?php $_from = $this->_tpl_vars['dl1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['rs']):
?>
              <li <?php if ($this->_tpl_vars['rs']['index'] > 2): ?> class="gray"<?php endif; ?>><img src="skins/stlye/images/0<?php echo $this->_tpl_vars['rs']['index']+1; ?>
.jpg" /><a href="web_home.php?wid=<?php echo $this->_tpl_vars['rs']['gyid']; ?>
" target="_blank"><?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['companyname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 13) : smarty_modifier_cutstr($_tmp, 13)); ?>
</a></li>
          <?php endforeach; endif; unset($_from); ?>
            </ul></td>
      </tr>
      <tr>
        <td style="padding-left:10px;" >&nbsp;</td>
      </tr>
      <tr>
        <td align="center" valign="top" style="padding:10px 0 0 0;">&nbsp;</td>
      </tr>
      
    </table></td>
    
    <td width="3" align="left" valign="top">&nbsp;</td>
    <td width="779" align="left" valign="top" style="border: solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="27" colspan="2" background="skins/stlye/images/bdsjtp_03.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="27" style="font-size:14px; font-weight:bold; padding-left:10px;">资源商列表</td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2"  height="10"></td>
        </tr><?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['prs']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
      <tr>
        <td width="25%" align="right" valign="top"><a href="web_home.php?wid=<?php echo $this->_tpl_vars['prs'][$this->_sections['i']['index']]['gyid']; ?>
"><img src="uploadfile/company/<?php echo ((is_array($_tmp=$this->_tpl_vars['prs'][$this->_sections['i']['index']]['pic1'])) ? $this->_run_mod_handler('showcpic', true, $_tmp) : smarty_modifier_showcpic($_tmp)); ?>
" width="135" height="117" style="border:solid 1px #CCC; padding:2px;" /></a></td>
        <td width="75%"  valign="top" style="padding-left:10px;"><table width="98%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="33" colspan="2" ><a href="web_home.php?wid=<?php echo $this->_tpl_vars['prs'][$this->_sections['i']['index']]['gyid']; ?>
" target="_blank" style="font-size:14px; font-weight:bold;"><?php echo $this->_tpl_vars['prs'][$this->_sections['i']['index']]['companyname']; ?>
</a></td>
          </tr>
          <tr>
            <td width="8%" align="center" valign="top">简 介：</td>
            <td width="92%" height="90" valign="top" style="text-indent:0px;"> <?php echo ((is_array($_tmp=$this->_tpl_vars['prs'][$this->_sections['i']['index']]['a1'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 150, "..") : smarty_modifier_cutstr($_tmp, 150, "..")); ?>
</td>
          </tr>
          <tr>
            <td colspan="2" align="right" valign="top"> <a href="web_home.php?wid=<?php echo $this->_tpl_vars['prs'][$this->_sections['i']['index']]['gyid']; ?>
" target="_blank"  style="color:#F00;">[进入店铺] </a></td>
            </tr>
          </table></td>
        </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td  valign="top" style="padding-left:10px;">&nbsp;</td>
      </tr> <?php endfor; endif; ?>
      <tr>
        <td colspan="2" align="right" style="padding-right:10px"><?php echo $this->_tpl_vars['pagetext']; ?>
</td>
        </tr>
     
    </table></td>
  </tr>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "foot_inc.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
</body>
</html>